package com.mzpai.product.service.impl;
import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mzpai.product.mapper.UserPetMapper;
import com.mzpai.product.model.UserPet;
import com.mzpai.product.service.UserPetService;
import com.mzpai.product.vo.UserPetAndCateVo;
import com.mzpai.service.impl.BaseServiceImpl;

@Service
public class UserPetServiceImpl extends BaseServiceImpl<UserPet> implements UserPetService {

	Logger logger = LoggerFactory.getLogger(UserPetServiceImpl.class);

	@Autowired 
	private UserPetMapper userPetMapper;

	@Override
	public List<UserPetAndCateVo> getUserPetAndCateListByUserId(Integer userId) {
		List<UserPetAndCateVo> listUserPetAndCateVo= userPetMapper.getUserPetAndCateListByUserId(userId);
		return listUserPetAndCateVo;
	}

	
}